
#include "ProductComboBoxSummer.h"
#include <iostream>

using namespace npAbstractFactory;
using namespace std;

ProductComboBoxSummer::ProductComboBoxSummer() : ProductComboBox()
{

}

ProductComboBoxSummer::~ProductComboBoxSummer()
{

}

ProductComboBoxSummer::ProductComboBoxSummer(const ProductComboBoxSummer& cpy) : ProductComboBox(cpy)
{

}

ProductComboBoxSummer& ProductComboBoxSummer::operator=(const ProductComboBoxSummer& asn)
{
    if (this == &asn)
    {
        return *this;
    }
    else
    {
        ProductComboBox::operator=(asn);
        return *this;
    }
}

ProductComboBoxSummer* ProductComboBoxSummer::clone() const
{
    return new ProductComboBoxSummer(*this);
}

void ProductComboBoxSummer::display()
{
    cout << "蓝色组合框" << endl;
}
